package com.example.wly.application_1_homework;

import android.graphics.Color;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

import org.w3c.dom.Text;

import static com.example.wly.application_1_homework.R.id.text_info;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        TextView txt_ctl=(TextView)findViewById(text_info);
                txt_ctl.setText("one homework");
        txt_ctl.setTextColor(Color.parseColor("#a99000"));
    }
}
